#pragma once
#include "TrMarket.h"
#include "TrSingleton.h"
#include <unordered_map>

#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

class TRMARKET_EXPORT TrMasters : public TrSingleton<TrMasters>
{
	friend class TrSingleton<TrMasters>;
public:
	TrMasters(const TrMasters&) = delete;
	TrMasters& operator =(const TrMasters&) = delete;
	static std::map<std::string, std::string> master();
	static std::map<std::string, std::string> master_next();
	static std::string master(const std::string& proId);
	static std::string master_next(const std::string& proId);
private:
	TrMasters();
};

